package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.StrategyComment;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyCommentService {
    /**
     * 分页查询 后台页面数据
     * @param qo
     * @return
     */
    PageInfo query(QueryObject qo);

    void save(StrategyComment strategyComment);

    List<StrategyComment> selectAll(Long strategyId);//所有信息数据(攻略)

    void insert(StrategyComment strategyComment);

    Object updataState(Long id, Long stateId);//更改状态

    Object getTag();

    int saveStrategyAndComment(StrategyComment strategyComment);

    Object getReviewEvaluation(Long id);
}
